repo.or.cz
/
BattleCats.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Modification start date
[BattleCats.git]
/
Assets
/
Scripts
/
UI Scripts
/
RestartPanel.cs
blob
1d414cbb84852bfcd59c226d7e45547551e9210f
1
using
UnityEngine
;
2
using
UnityEngine
.
UI
;
3
4
public class
RestartPanel
:
MonoBehaviour
5
{
6
private
Text m_text
;
7
8
private void
Awake
()
9
{
10
m_text
=
transform
.
Find
(
"RestartLevelText"
).
GetComponent
<
Text
>();
11
}
12
13
public void
DisplayWithText
(
string
text
)
14
{
15
m_text
.
text
=
text
;
16
}
17
}